export interface ResponseData {
  code?: number
  message?: string
  ok?: boolean
}

export interface meeting {
  id?: number
  title?: string
  startTime?: Date | null
  endTime?: Date | null
  application?: string
  jobNumber?: string
  userMobile?: string
  number?: string
  roomNumber?: string
  summary?: string
  isExaminestate?: number
  isState?: number
  address?: string
  isEquipment?: boolean
  createTime?: string | Date | null
  updateTime?: string | Date | null
}

export interface bookMeeting {
  endTime: string
  jobNumber: string
  roomNumber: string
  startTime: string
  userName: string
  title: string
}

export interface basePage {
  currentPage?: number
  pageSize?: number
}

export type meetingLists = meeting[]

export interface MeetingInformationResponseData extends ResponseData {
  data: {
    records: meetingLists
    total: number
    size: number
    current: number
    orders: []
    searchCount: boolean
    pages: number
  }
}

export interface auditMeeting {
  id?: number
  isExaminestate?: number
}

export type auditMeetings = auditMeeting[]

export interface meetingAddRemember {
  jobNumber: string[]
  meetingId: number
}

export interface meetingMember {
  jobNumber: string
  rememberMobile: string
  remember: string
  id: number
  createTime: Date
  updateTime: Date
  isDel: boolean
  meetingId: number
  name: string
}
export type meetingMemberList = meetingMember[]

export interface MeetingMemberResponseData extends ResponseData {
  data: {
    records: meetingMemberList
    total: number
    size: number
    current: number
    orders: []
    searchCount: boolean
    pages: number
  }
}
export interface searchMember extends basePage {
  meetingId?: number
}
